package cn.com.algery.temp.service;


import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.stereotype.Service;

import cn.com.algery.temp.domain.Page;
import cn.com.algery.temp.domain.Roles;
import cn.com.algery.temp.domain.User;
import cn.com.algery.temp.domain.UserRoles;
@Service
public interface UserService {
	public User queryUserByName(String username);
	public void updateUser(User user);
    public Set<String> queryRolesByName(String userName);
	public Map<String, Object> queryAllUserRoles(Page page);
	public void saveUserRole(UserRoles userRoles);
	public List<Roles> queryAllRoles();
}
